import Notification from './notification.vue'
import notify from './function'

//全局注册
export default (Vue) => {
  // 最好都给组件定义一个name， 否则每次都要用字符串去写很麻烦
  Vue.component(Notification.name, Notification)
  Vue.prototype.$notify = notify
}
